import { Injectable } from '@angular/core';
import { _HttpClient } from '@delon/theme';

@Injectable({
  providedIn: 'root'
})
export class RetreatStatService {

	retreatSetUrl = 'tjpn4-handle-tally/retreatSet/';
	api = {
		retreatSetStatPage: this.retreatSetUrl + 'retreatSetStatPage',
		retreatSetStatTotal: this.retreatSetUrl + 'retreatSetStatTotal',
		retreatSetStatDetailPage: this.retreatSetUrl + 'retreatSetStatDetailPage',
		retreatSetStatTallyPage: this.retreatSetUrl + 'retreatSetStatTallyPage'
	};
	constructor(private http: _HttpClient) {
	}

	retreatSetStatPage(params: any) : any {
		return this.http.get(this.api.retreatSetStatPage, params);
	}

	retreatSetStatTotal(params: any) : any {
		return this.http.get(this.api.retreatSetStatTotal, params);
	}

	retreatSetStatDetailPage(params: any) : any {
		return this.http.get(this.api.retreatSetStatDetailPage, params);
	}

	retreatSetStatTallyPage(params: any) : any {
		return this.http.get(this.api.retreatSetStatTallyPage, params);
	}
}
